Functions


Functions Summary
void

cot_backtrace(bool clear_screen)

Prints program execution backtrace.

void

cot_checkpoint()

Dumps current state of global variables into debug log file and continues normal script execution.

void

cot_print()

Accepts several variables and prints their values in debug mode (var dump).

void

cot_vardump(bool clear_screen)

Prints structure and contents of all global variables currently assigned.

void

cot_watch()

Dumps current state of its arguments to debug log file and continues normal script execution.

Function Detail

system\debug.php at line 60

cot_backtrace

public void cot_backtrace(bool clear_screen)
Prints program execution backtrace.
Parameters:
clear_screen - If TRUE displays backtrace only. Otherwise it will be printed in normal flow.
See Also:
cot_vardump()

system\debug.php at line 114

cot_checkpoint

public void cot_checkpoint()
Dumps current state of global variables into debug log file and continues normal script execution.
Global:
string $cfg['debug_logpath'] Path to debug log file
See Also:
cot_watch(), cot_vardump()

system\debug.php at line 21

cot_print

public void cot_print()
Accepts several variables and prints their values in debug mode (var dump).
Example:
cot_assert($foo, $bar);
See Also:
cot_backtrace(), cot_vardump()

system\debug.php at line 80

cot_vardump

public void cot_vardump(bool clear_screen)
Prints structure and contents of all global variables currently assigned.
Parameters:
clear_screen - If TRUE displays vardump only. Otherwise it will be printed in normal flow.
See Also:
cot_assert(), cot_backtrace()

system\debug.php at line 39

cot_watch

public void cot_watch()
Dumps current state of its arguments to debug log file and continues normal script execution.
Global:
string $cfg['debug_logpath'] Path to debug log file
Example:
cot_watch($foo, $bar);
See Also:
cot_checkpoint()